package com.atguigu.eduservice.service.client;

import com.atguigu.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author He Wentao
 * @since 2022/9/10 20:13
 */

@Component
public class VodFileDegradeFeignClient implements VodClient{
    @Override
    public R delete(String id) {

        return R.error().message("删除视频失败了");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {

        return R.error().message("删除多个视频失败了");
    }
}
